package com.crm.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Time;
import java.util.Date;


/**
 * The persistent class for the tousuc database table.
 * 
 */
@Entity
@Table(name="tousuc")
@NamedQuery(name="Tousuc.findAll", query="SELECT t FROM Tousuc t")
public class Tousuc implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String cid;

	private String cathf;

	private String ccf;

	@Temporal(TemporalType.DATE)
	private Date cdate;

	private byte cdelete;

	private String cdes;

	private String cremark;

	private byte cresult;

	private String ctheme;

	private Time ctime;

	private String ctp;

	//bi-directional many-to-one association to Customer
	@ManyToOne
	@JoinColumn(name="cclient")
	private Customer customer;

	//bi-directional many-to-one association to Qatype
	@ManyToOne
	@JoinColumn(name="ctype")
	private Qatype qatype;

	public Tousuc() {
	}

	public String getCid() {
		return this.cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getCathf() {
		return this.cathf;
	}

	public void setCathf(String cathf) {
		this.cathf = cathf;
	}

	public String getCcf() {
		return this.ccf;
	}

	public void setCcf(String ccf) {
		this.ccf = ccf;
	}

	public Date getCdate() {
		return this.cdate;
	}

	public void setCdate(Date cdate) {
		this.cdate = cdate;
	}

	public byte getCdelete() {
		return this.cdelete;
	}

	public void setCdelete(byte cdelete) {
		this.cdelete = cdelete;
	}

	public String getCdes() {
		return this.cdes;
	}

	public void setCdes(String cdes) {
		this.cdes = cdes;
	}

	public String getCremark() {
		return this.cremark;
	}

	public void setCremark(String cremark) {
		this.cremark = cremark;
	}

	public byte getCresult() {
		return this.cresult;
	}

	public void setCresult(byte cresult) {
		this.cresult = cresult;
	}

	public String getCtheme() {
		return this.ctheme;
	}

	public void setCtheme(String ctheme) {
		this.ctheme = ctheme;
	}

	public Time getCtime() {
		return this.ctime;
	}

	public void setCtime(Time ctime) {
		this.ctime = ctime;
	}

	public String getCtp() {
		return this.ctp;
	}

	public void setCtp(String ctp) {
		this.ctp = ctp;
	}

	public Customer getCustomer() {
		return this.customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public Qatype getQatype() {
		return this.qatype;
	}

	public void setQatype(Qatype qatype) {
		this.qatype = qatype;
	}

}